import * as YvanUI from 'yvan-ui-wotu'

const _ = YvanUI.lodash

export const dataRaw: any[] = [
    ["AWI00000001", "BG320100001G001ZY", "卡西欧（南京昊天）", "KXONJHT", "1", "2", '', "卡西欧（南京昊天）", "13805162721", "江苏省", "南京市", '', '', 1536548553000, 1559642099000],
    ["AWI00000017", "TY220403001G001ZY", "西安小卫文体贸易有限公司", "XAXWWTMYYXGS", "2", "3", '', "杨小卫", "18706889474", " ", " ", '', '', 1535517764000, 1569240422000],
    ["AWI00000018", "TY371301001G001ZY", "临沂海诚文体贸易有限公司", "LYHCWTMYYXGS", "1", "4", '', "范志坚", "15092895068", "山东", "临沂", '', '', 1559642247000, 1559642247000],
    ["AWI00001995", "SP220403011X001ZY", "西安 杨小卫", "XAYXW", "1", "5", '', "杨小卫(T)", "18706889474", "陕西省", "西安市", '', '', 1559642281000, 1559642281000],
    ["AWI00002327", "TY130400001G001ZY", "河北汉光（邯郸）门球器材厂", "HBHGHDMQQCC", "1", "2", '', "郝中彪", "13832062406/13131036148", "河北", "邯郸", '', '', 1562056868000, 1562056868000],
    ["AWI00002339", "TY320124001G001ZY", "南京哈恩达斯体育用品有限公司", "NJHEDSTYYPYXGS", "2", "2", '', "李方喜", "13584036466", "江苏省", "南京市", '', '', 1562553792000, 1569240426000],
    ["AWI00002340", "TY320124002G001ZY", "南京侨伟运动器材有限公司", "NJQWYDQCYXGS", "1", "3", '', "杨军", "13819092123", "江苏省", "南京市", '', '', 1563526314000, 1563887812000],
    ["AWI00002341", "TY320200001G001ZY", "无锡乔丹", "WXQD", "1", "4", '', "无锡乔丹", "13801519760", "江苏省", "无锡市", '', '', 1565310332000, 1565310332000],
    ["AWI00002342", "TY320200002G001ZY", "无锡市大明体育用品厂", "WXDMSLLC", "1", "5", '', "肖莉莉", "13912387181", "江苏省", "无锡市", '', '', 1567126281000, 1567126281000],
    ["AWI00002343", "TY320205001G001ZY", "无锡晟达体育用品有限公司", "WXSDTYYPYXGS", "1", "2", '', "史建荣", "13906183441", "江苏省", "无锡市", '', '', 1541832317000, 1553686527000],
    ["AWI00002344", "TY320205002G001ZY", "无锡鼎盛制球厂", "WXDSZQC", "1", "2", '', "顾培刚", "15961793245", "江苏省", "无锡市", '', '', 1545118076000, 1553686527000],
    ["AWI00002345", "TY320205003G001ZY", "无锡鸿丰塑胶制品厂", "WXHFSJZPC", "1", "2", '', "顾培刚", "15961793245", "江苏省", "无锡市", '', '', 1547025039000, 1559636927000],
    ["AWI00002346", "TY320205004G001ZY", "无锡世大体育用品厂", "WXSDTYYPC", "1", "2", '', "姚月良", "13812190982", "江苏省", "无锡市", '', '', 1568692279000, 1568692279000],
    ["AWI00002373", "TY321324001G001ZY", "江苏宿迁健特体育用品有限公司", "JSSQJTTYYPYXGS", "1", "2", '', "蒋敏", "13905246422", "江苏", "宿迁", '', '', 1568777805000, 1568777805000],
    ["AWI00002449", "GY330782329X001ZY", "义乌会军体育", "YWHJTY", "1", "2", '', "义乌会军体育", "18967951029", "浙江省", "浙江省", '', '', 1552098861000, 1553686527000],
    ["AWI00002489", "TY350500002G001ZY", "泉州新泰阳体育公司", "QZXTYTYGS", "1", "2", '', "高向前", "13788825333", "山东", "泰安", '', '', 1552293075000, 1559626223000],
    ["AWI00002559", "WJ371301012G001ZY", "义乌携程文具笔（临沂）", "YWXCWJBLY", "1", "2", '', "未填写", "15868971619                                       ", "山东", "临沂", '', '', 1552295924000, 1559632386000],
    ["AWI00002586", "WJ371301011G001ZY", "义乌状元鼠笔袋（临沂）", "YWZYSBDLY", "1", "2", '', "未填写", "13516999926", "山东", "临沂", '', '', 1552354136000, 1559608448000],
    ["AWI00002594", "WJ330782125G001ZY", "义乌得力高", "YWDLG", "1", "2", '', "义乌得力高", "15257977766", " ", " ", '', '', 1552371841000, 1558400821000],
    ["AWI00003982", "XP320581003X001ZY", "常熟 周涛", "CSZT", "1", "2", '', "周涛", "13814976782                                       ", "江苏省", "苏州市", '', '', 1552372125000, 1554972342000],
    ["AWI00004620", "ZL330127005X001ZY", "汾口 詹建妹", "FKZJM", "1", "2", '', "詹建妹", "13968112193                                       ", "浙江省", "杭州市", '', '', 1552440098000, 1554791962000],
    ["AWI00007731", "TY340000002G001ZY", "安徽德立体育用品有限公司", "AHDLTYYPYXGS", "1", "2", '', "杨海鹰", "13329158888", "安徽", '', '', '', 1552981657000, 1559610905000],
    ["AWI00013745", "BG440304004G001ZY", "深圳市泰兴达精密五金制品有限公司", "SZSTXDJMWJZPYXGS", "1", "2", '', "周建琼", "13825293515", " ", " ", '', '', 1553060642000, 1554944005000],
    ["AWI00013857", "THYKZY", "退货入库专用", "THRKZY", "1", "2", '', "退货入库专用", "                                                  ", " ", " ", '', '', 1553062487000, 1553686527000],
    ["AWI00014086", "TY330782195G001ZY", "友青印刷", "YQYS", "1", "2", '', "友青印刷", "15381732213", " ", " ", '', '', 1553308148000, 1557905483000],
    ["AWI00014151", "TY330782196G001ZY", "义乌市万众印刷有限责任公司", "YWSWZYSYXZRGS", "1", "2", '', "唐经理", "13857969711", " ", " ", '', '', 1554858169000, 1559619551000],
    ["AWI00014400", "BG440514004G001ZY", "汕头市定邦文具厂", "STSDBWJC", "1", "2", '', "胡少武", "13719918444", " ", " ", '', '', 1555038677000, 1555471726000],
    ["AWI00014411", "TY350581002G001ZY", "亿龙体育", "YLTY", "1", "2", '', "龚龙华", "13905962400", " ", " ", '', '', 1555551813000, 1561963790000],
    ["AWI00014419", "TY330782197G001ZY", "兰溪市瑞和水钻饰品有限公司", "LXSRHSZSPYXGS", "1", "2", '', "燕中帮", "18858933713", " ", " ", '', '', 1557276981000, 1559547466000],
    ["AWI00014590", "DP321101023X001ZY", "镇江 胡永权", "ZJHYQ", "1", "2", '', "胡永权", "                                                  ", "江苏省", "镇江市", '', '', 1557710472000, 1559610685000],
    ["AWI00014637", "ZP420100023G001ZY", "武汉市丽彩世博印务有限公司", "WHSLCSBYWYXGS", "1", "2", '', "陈林", '', " ", " ", '', '', 1557728998000, 1559609268000],
    ["AWI00014656", "TY330282007G001ZY", "杭州启悦文化创意有限公司", "HZQYWHCYYXGS", "1", "2", '', "卢昱吉", "13958518093", " ", " ", '', '', 1558419115000, 1558421073000],
    ["AWI00014706", "TY330782199G001ZY", "义乌振轩文体用品有限公司", "YWZXWTYPYXGS", "1", "2", '', "朱支辉", "18657992937", " ", " ", '', '', 1558918696000, 1558950620000],
    ["AWI00014718", "TY330782200G001ZY", "五环印刷有限公司", "WHYSYXGS", "1", "2", '', "郑云清", "18266968770", " ", " ", '', '', 1558918878000, 1558918878000],
    ["AWI00014913", "TY330226001G001ZY", "宁波市奥利多工艺品有限公司", "NBSALDGYPYXGS", "1", "2", '', "张璐斌", "13780058826", " ", " ", '', '', 1558918938000, 1558918954000],
    ["AWI00014927", "CS440100002G001ZY", "广州 热脉文体", "GZRMWT", "1", "2", '', "郑明山", "13826168253", " ", " ", '', '', 1558918991000, 1558918991000],
    ["AWI00014930", "WJ330100002G001ZY", "杭州 王长宁", "HZWCN", "1", "2", '', "王长宁", "13732216193", " ", "宜宾", '', '', 1562228765000, 1562228765000],
    ["AWI00014992", "BG330782196G001ZY", "商贸城二区24420A店面（双赢木板夹）", "SMCEQ24420ADM（SYMBJ", "1", "2", '', "朱成梁", "13515895863", " ", " ", '', '', 1535517764000, 1553686527000],
    ["AWI00017857", "BG441302001G001ZY", "惠州市富祥铝塑制品厂", "HZSFXLSZPC", "1", "2", '', "叶贤炜", "13510491436", " ", " ", '', '', 1535517764000, 1553686527000],
]

interface Custom {
    customerid: string,
    customercode: string,
    customername: string,
    logogram: string,
    industryclass: string,
    customertype: string,
    zip: string,
    contact: string,
    telephone: string,
    province: string,
    city: string,
    address: string,
    remark: string,
    create_at: number,
    update_at: number,
}

const rows = _.map(dataRaw, (row: any) => {
    return {
        customerid: _.toString(row[0]),
        customercode: _.toString(row[1]),
        customername: _.toString(row[2]),
        logogram: _.toString(row[3]),
        industryclass: _.toString(row[4]),
        customertype: _.toString(row[5]),
        zip: _.toString(row[6]),
        contact: _.toString(row[7]),
        telephone: _.toString(row[8]),
        province: _.toString(row[9]),
        city: _.toString(row[10]),
        address: _.toString(row[11]),
        remark: _.toString(row[12]),
        create_at: _.toString(row[13]),
        update_at: _.toString(row[14]),
    }
})
export default rows
